package com.gym.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("food")
public class Food {
    @TableId(value = "food_id",type = IdType.AUTO)
    private Integer foodId;
    @TableField("food_name")
    private String foodName;
    @TableField("foodsort_id")
    private Integer foodsortId;
    @TableField("food_hot")
    private Double foodHot;
    @TableField("food_protein")
    private Double foodProtein;
    @TableField("food_cw")
    private Double foodCw;
    @TableField("food_fat")
    private Double foodFat;
    @TableField("food_op")
    private String foodOp;
}
